home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
TMPNAM.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
221 b
|
11 lines
/* tmpnam.c --- p 471 */
#include <stdio.h>
main()
{
char *tfilename;
tfilename = tmpnam(NULL);
if (tfilename == NULL)
perror("tmpnam failed");
else
printf("Temporary file name: %s\n", tfilename);
}